package com.basaji.dao;

import java.util.List;

import com.basaji.domain.pojo.Topic;

public interface ITopicDao extends IBaseDao {

	List<Topic> getTopics(int classificationId,int start,int size) throws Exception;
	
	List<Topic> getReplies(int id,int start,int size) throws Exception;
	
	List<Topic> getTopicsByItem(int itemId,int start,int size) throws Exception;
	
	List<Topic> getUserTopics(int uid,int start,int size) throws Exception;
	
	int getTopicCount(int classifcationId) throws Exception;
	
	int getTopicCountByItem(int itemId) throws Exception;
	
	int getUserTopicCount(int uid) throws Exception;
}
